home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / atan.z / atan
Encoding:
Text File  |  2002-10-03  |  3.6 KB  |  89 lines

  1. ATAN(3I)                                              Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      AATTAANN, DDAATTAANN, QQAATTAANN, AATTAANNDD, DDAATTAANNDD, QQAATTAANNDD - Computes arctangent
  6.      (inverse tangent) for single argument
  7.  
  8. SSYYNNOOPPSSIISS
  9.      AATTAANN (([XX==]_x))
  10.      DDAATTAANN (([XX==]_x))
  11.      QQAATTAANN (([XX==]_x))
  12.  
  13.      AATTAANNDD (([XX==]_x))
  14.      DDAATTAANNDD (([XX==]_x))
  15.      QQAATTAANNDD (([XX==]_x))
  16.  
  17. IIMMPPLLEEMMEENNTTAATTIIOONN
  18.      UNICOS, UNICOS/mk, IRIX systems
  19.  
  20.      CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
  21.  
  22. SSTTAANNDDAARRDDSS
  23.      Fortran
  24.  
  25.      Fortran extensions:  QQAATTAANN, AATTAANNDD, DDAATTAANNDD, QQAATTAANNDD
  26.  
  27. DDEESSCCRRIIPPTTIIOONN
  28.      AATTAANN, DDAATTAANN, and QQAATTAANN return the arc tangent in radians.  AATTAANNDD,
  29.      DDAATTAANNDD, and QQAATTAANNDD return the arc tangent in degrees.
  30.  
  31.      AATTAANN and AATTAANNDD are generic function names; the others are specifics.
  32.      These are elemental intrinsic functions.  They accept the following
  33.      argument:
  34.  
  35.      _x         Must be type real.  The type and kind type of _x is identical
  36.                to the type and kind type of the return value.  See the
  37.                RETURN VALUES section for information on input data types
  38.                and return values.
  39.  
  40.                The data type and kind type for single-precision,
  41.                double-precision, and quad-precision values differ depending
  42.                on your platform.  For platform-specific information, see
  43.                the TERMINOLOGY section of the IINNTTRROO__IINNTTRRIINN(3I) man page.
  44.  
  45.      These functions evaluate _y = aarrccttaann((_x)).
  46.  
  47.      The result range for AATTAANN, DDAATTAANN, and QQAATTAANN is as follows:
  48.  
  49.           -pi/2 <= AATTAANN((_x)) <= pi/2
  50.  
  51.      The result range for AATTAANNDD, DDAATTAANNDD, and QQAATTAANNDD is as follows:
  52.  
  53.           -90 <= _r_e_s_u_l_t <= 90
  54.  
  55.      Vector versions of these intrinsics exist on some systems.  Vector
  56.      versions of AATTAANN and DDAATTAANN exist on UNICOS and UNICOS/mk systems.  On
  57.      UNICOS/mk systems, the vector versions of these intrinsics are used
  58.      when --OO vveeccttoorr33 or --OO33 have been specified on the compiler command
  59.      line.  On UNICOS/mk systems, the 64-bit intrinsic vectorizes; the
  60.      32-bit version does not.  A vector version of the single-precision and
  61.      double-precision AATTAANN intrinsic exists on IRIX systems and is used
  62.      when --OO33 is specified on the compiler command line.
  63.  
  64. NNOOTTEESS
  65.      The AATTAANN and DDAATTAANN intrinsic function names can be passed as
  66.      arguments; the others cannot.
  67.  
  68.      On CRAY T90 systems that support IEEE arithmetic, the following return
  69.      values occur:
  70.  
  71.           AATTAANN((NaN)) = NaN
  72.  
  73.           AATTAANN((infinity)) = pi/2
  74.  
  75.           AATTAANN((-infinity)) = -pi/2
  76.  
  77. RREETTUURRNN VVAALLUUEESS
  78.      AATTAANN and AATTAANNDD return the real arc tangent of their real arguments.
  79.  
  80.      DDAATTAANN and DDAATTAANNDD return the double-precision arc tangent of their
  81.      double-precision arguments.
  82.  
  83.      QQAATTAANN and QQAATTAANNDD return the quad-precision arc tangent of their
  84.      quad-precision arguments.
  85.  
  86. SSEEEE AALLSSOO
  87.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  88.      man page.
  89.